import Vue from 'vue'
import App from './App'
import ElementUI from 'element-ui'
//遮罩层
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant)
import 'element-ui/lib/theme-chalk/index.css'
import router from './router'
import axios from 'axios'
import api from './api/api'
import vuex from 'vuex'
import storeConfig from './vuex/store'
Vue.config.productionTip = false
Vue.use(vuex)
import '../static/css/css.css'
import iView from 'iview';
import 'iview/dist/styles/iview.css';

Vue.use(ElementUI)
Vue.use(iView);
import share from './api/share';
Vue.prototype.$share=share;
// 富文本css
import '../static/css/quill.core.css'
import '../static/css/quill.snow.css'
import '../static/css/quill.bubble.css'

Vue.prototype.$http = axios
Vue.prototype.$api = api
const store = new vuex.Store(storeConfig)
//图片放大缩小插件
import Viewer from 'v-viewer'
import 'viewerjs/dist/viewer.css'

Vue.use(Viewer);
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
